package com.youlai.boot.system.model.vo;

import java.io.Serial;
import java.io.Serializable;
import java.time.LocalDate;
import java.time.LocalDateTime;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Getter;
import lombok.Setter;
import java.time.LocalDateTime;
import java.math.BigDecimal;

/**
 * 供应链日报视图对象
 *
 * @author xiheforever
 * @since 2025-06-01 23:18
 */
@Getter
@Setter
@Schema( description = "供应链日报视图对象")
public class SupplyChainReportVO implements Serializable {

    @Serial
    private static final long serialVersionUID = 1L;

    @Schema(description = "主键")
    private Long id;
    @Schema(description = "店铺名称")
    private String storeName;
    @Schema(description = "报告日期")
    private LocalDate reportDate;
    @Schema(description = "现货数量（箱）")
    private Integer spotQuantity;
    @Schema(description = "在途数量（箱）")
    private Integer inTransitQuantity;
    @Schema(description = "合计数量（箱）")
    private Integer totalQuantity;
    @Schema(description = "现货金额（万元）")
    private BigDecimal spotAmount;
    @Schema(description = "在途金额（万元）")
    private BigDecimal inTransitAmount;
    @Schema(description = "合计金额（万元）")
    private BigDecimal totalAmount;
    @Schema(description = "现货周转天数")
    private Integer spotTurnoverDays;
    @Schema(description = "含在途周转天数")
    private Integer withInTransitTurnoverDays;
    @Schema(description = "本月NR目标（万元）")
    private BigDecimal nrTarget;
    @Schema(description = "已下单金额（万元）")
    private BigDecimal orderedAmount;
    @Schema(description = "达成率（%）")
    private BigDecimal achievementRate;
    @Schema(description = "PV现货率（%）")
    private BigDecimal pvSpotRate;
    @Schema(description = "创建时间")
    private LocalDateTime createTime;
    @Schema(description = "更新时间")
    private LocalDateTime updateTime;
}
